package com.ruoyi.sj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 评论表 sj_comments
 * 
 * @author tyc@yanyu.com
 * @date 2018-11-28
 */
public class Comments extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long id;
	/** 评论内容 */
	private String content;
	/** 评论的动态id */
	private Long dynamicId;
	/** 被评论用户id */
	private Long toMemberId;
	/** 评论人id */
	private Long fromMemberId;
	/** 评论时间 */
	private String createDate;
	/**  */
	private String createBy;
	/** 备注 */
	private String remark;
	/**  */
	private String updateBy;
	/**  */
	private String updateDate;
	private String userName;
	private String con;
	private Long parentId;

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getCon() {
		return con;
	}

	public void setCon(String con) {
		this.con = con;
	}

	public void setId(Long id)
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setContent(String content) 
	{
		this.content = content;
	}

	public String getContent() 
	{
		return content;
	}
	public void setDynamicId(Long dynamicId) 
	{
		this.dynamicId = dynamicId;
	}

	public Long getDynamicId() 
	{
		return dynamicId;
	}
	public void setToMemberId(Long toMemberId) 
	{
		this.toMemberId = toMemberId;
	}

	public Long getToMemberId() 
	{
		return toMemberId;
	}
	public void setFromMemberId(Long fromMemberId) 
	{
		this.fromMemberId = fromMemberId;
	}

	public Long getFromMemberId() 
	{
		return fromMemberId;
	}
	public void setCreateBy(String createBy)
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("dynamicId", getDynamicId())
            .append("toMemberId", getToMemberId())
            .append("fromMemberId", getFromMemberId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
